#include"stack.h"


void test1()
{
	Stack stack;
	StackInit(&stack);

	StackPush(&stack, 1);
	StackPush(&stack, 2);
	StackPush(&stack, 3);
	StackPush(&stack, 4);
	StackPush(&stack, 5);

	/*StackPop(&stack);
	StackPop(&stack);
	StackPop(&stack);
	StackPop(&stack);
	StackPop(&stack);*/
	//StackPush(&stack, 1);
	
	int ret = StackTop(&stack);
	printf("%d\n", ret);
	StackPrint(&stack);
}
int main()
{
	test1();
}